package cn.zebra.dev.mall.module.orders.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.math.BigDecimal;

/**
 * @author runnable@sina.cn
 */
@Getter
@Setter
@ToString
public class OrderItemDTO {

    @ApiModelProperty("商品名")
    private String productName;

    @ApiModelProperty("商品图片")
    private String productImage;

    @ApiModelProperty("商品价格")
    private BigDecimal unitPrice;

    @ApiModelProperty("商品规格属性")
    private String productAttributes;

    @ApiModelProperty("购买数量")
    private Long num;

    @ApiModelProperty("小计/总计")
    private BigDecimal totalPrice;
}
